import request from '@/utils/request'
// ocr API接口
const api = {
    ocrByAttachmentid: '/ocr/readTextByAttachmentid'
}

export function ocrByAttachmentid(attachmentid) {
    return request({
        url: api.ocrByAttachmentid,
        method: 'get',
        params: {
            attachmentid: attachmentid
        }
    })
}